<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page session="false" %>
<html>
<head>
	<title>SYS.TABLESPACE from Oracle</title>
	<style type="text/css">
		.tg  {border-collapse:collapse;border-spacing:0;border-color:#ccc;}
		.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;}
		.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;}
		.tg .tg-4eph{background-color:#f9f9f9}
	</style>
</head>
<body>
<h3>SYS.TABLESPACES List</h3>
<c:if test="${!empty listTbspc007}">
	<table class="tg">
	<tr>
    	<th width="30"></th>
    	<th width="50">tablespaceName</th>
		<th width="80">blockSize</th>
		<th width="80">initialExtent</th>
		<th width="80">maxExtent</th>
		<th width="80">maxSize</th>
		<th width="80">minExtlen</th>
		<th width="80">status</th>
		<th width="80">contents</th>
		<th width="80">logging</th>
		<th width="80">forceLogging</th>
		<th width="80">extentMgmt</th>
		<th width="80">allocationType</th>
		<th width="80">segSpaceMgmt</th>
		<th width="80">defTabCmprss</th>
	</tr>
	<c:forEach items="${listTbspc007}" var="tbspc" varStatus="status">
    		<tr>
        		<td>${status.index + 1}</td>
        		<td>${tbspc.tablespaceName}</td>
    			<td>${tbspc.blockSize}</td>
    			<td>${tbspc.initialExtent}</td>
    			<td>${tbspc.maxExtent}</td>
    			<td>${tbspc.maxSize}</td>
    			<td>${tbspc.minExtlen}</td>
    			<td>${tbspc.status}</td>
    			<td>${tbspc.contents}</td>
    			<td>${tbspc.logging}</td>
    			<td>${tbspc.forceLogging}</td>
    			<td>${tbspc.extentMgmt}</td>
    			<td>${tbspc.allocationType}</td>
    			<td>${tbspc.segSpaceMgmt}</td>
    			<td>${tbspc.defTabCmprss}</td>
    			<td><a href="<c:url value='/tbspc/edit/${tbspc.tablespaceName}' />" >Edit</a></td>
    			<td><a href="<c:url value='/tbspc/remove/${tbspc.tablespaceName}' />" >Delete</a></td>
    		</tr>
    	</c:forEach>
	</table>
</c:if>
</body>
</html>